package io.github.yedaxia.apidocs;

import io.github.yedaxia.apidocs.parser.ControllerNode;
import io.github.yedaxia.apidocs.parser.RequestNode;

import java.util.List;

public class CustomPlugin implements IPluginSupport{
      @Override
      public void execute(List<ControllerNode> controllerNodeList){
         // 实现你自己的功能需求
            for (ControllerNode controllerNode : controllerNodeList) {
                  controllerNode.setAuthor("东软-张金山");
                  controllerNode.setBaseUrl("https://www.fulfill.com:9901/api/v1/");
                  List<RequestNode> requestNodes = controllerNode.getRequestNodes();
                  for (RequestNode requestNode : requestNodes) {
//                        requestNode.getp
                  }
            }
      }


}